<#include "../../page.ftl" />
<#include "../../display.ftl" />
<table class="table table-datatable table-gray check_table">
    <thead>
    <tr>
        <th style="width: 35px;"><input id="checkAll" type="checkbox" value=""></th>
        <th>用户名</th>
        <th>分类</th>
        <th>子分类</th>
        <th>标题</th>
        <th>内容摘要</th>
        <th>文件名称</th>
        <th>操作</th>
    </tr>
    </thead>
<tbody>
<#if upDocumentsTable.rows??>
<#list upDocumentsTable.rows as upDocument>
    <tr>
        <td><input name="ids" type="checkbox" value="${upDocument.id?c}"></td>

        <td>${upDocument.operationUserName!''}</td>

        <td>
            <@display list=sortTypeList value="${upDocument.spareA!''}"/>
        </td>
        <td>
            <@display list=subcategoryTypeList value="${upDocument.spareB!''}"/>
        </td>
        <td>${upDocument.subject!''}</td>

         <td>${upDocument.synopsis!''}</td>
            <td>
                <div class=ellipsis_div_table style="width:200px;" title="${upDocument.docUrl!''}">
                ${upDocument.docUrl!''}
                </div>
            </td>

            <td>
                <a class="btn btn-green btn-radio nopadding" onclick="return downloadDoc('${upDocument.docUrl!''}');"
                   title="下载"><i class="fa fa-download"></i></a>
            <#--<a class="btn btn-green btn-radio nopadding" onclick="return popAddOrModify(${upDocument.id?c});" title="编辑"><i class="fa fa-edit"></i></a>-->
    </tr>
</#list>
</#if>
    </tbody>
</table>
<#if upDocumentsTable??>
<@page table=upDocumentsTable formId="search_upDocument_table"/>
</#if>
<style>
    td{ font-size:15px;}
    th{ font-size:15px;}
    label{ font-size:15px;}

     .ellipsis_div_table {
         overflow: hidden;
         text-overflow: ellipsis;
         white-space: nowrap;
     }
 </style>

